package com.zbkj.service.manager;

import com.zbkj.dal.entity.merchant.Merchant;
import com.zbkj.dal.entity.merchant.MerchantEmployee;

public interface MerchantManager {
    /**
     * 根据店铺id查询
     *
     * @param merchantId 店铺id
     * @return {@link Merchant}
     */
    Merchant findByMerchantId(Integer merchantId);

    /**
     * 查询店铺员工
     *
     * @param employeeNo 工号
     * @return {@link MerchantEmployee}
     */
    MerchantEmployee findMerchantEmployee(String employeeNo);

    /**
     * 查询店铺员工
     *
     * @return {@link MerchantEmployee}
     */
    MerchantEmployee findEmployeeByUserId(Integer userId);

    void disableMerchantEmployee(String employeeNo);
}
